package com.open.capacity.talented.service;

import com.github.pagehelper.PageInfo;
import com.open.capacity.talented.dto.IndustryEditDto;
import com.open.capacity.talented.dto.LayuiDto;
import com.open.capacity.talented.dto.QueryByIndustryIdsDto;
import com.open.capacity.talented.dto.UserIndustryDto;
import com.open.capacity.talented.model.Industry;

import java.util.List;

public interface IndustryService {

    PageInfo<UserIndustryDto> queryTalentedWithIndustryByPageAndLimit(LayuiDto dto, Integer enabled);

    List<Industry> queryIndustryByParentId(Long parentId);

    List queryTalentedByIndustryIds(QueryByIndustryIdsDto dto);

    List queryIndustryListByIds(List<Long> ids);

    List<Long> queryIndustryIdsByUserId(Long id);

    List queryAllIndustryList();

    boolean changeTalentedIndustryByUserId(IndustryEditDto dto);
}
